package com.ocom.common.entity.company;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "dock_key")
public class EntityDockKey implements Serializable {

    private static final long serialVersionUID = 3489993754957214902L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer grade;
    private String dockCode;
    private String serverCode;
    private Long comId;
    private String md5Key;
    private String rsaPub;
    private String rsaPri;
    private String rsa2Pub;
    private String rsa2Pri;
    private String sm3Key;
    private String aesKey;

/*工行银校通SM3Key字段：2023-04-26
* ALTER TABLE dock_key ADD COLUMN sm3_key text DEFAULT NULL COMMENT 'SM3Key';
* */
    /*中卡智磊aesKey字段：2023-05-31
     * ALTER TABLE dock_key ADD COLUMN aes_key text DEFAULT NULL COMMENT 'aesKey';
     * */

}
